package com.qing.springboot.exception;

/**
 * ClassName: ServiceException
 * Description:
 *
 * @Author Dong
 * @Create 2024/7/21 22:26
 * @Version 1.0
 */


import lombok.Getter;

/**
 * 自定义异常
 */
@Getter
public class ServiceException extends RuntimeException {
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }

}
